package com.weiweiqin.dao.impl;

import java.util.List;

import com.weiweiqin.dao.RoomUserDao;
import com.weiweiqin.dao.impl.GenericMybatisDao;
import com.weiweiqin.model.RoomUser;

public class RoomUserDaoImpl extends GenericMybatisDao<RoomUser, Integer>
		implements RoomUserDao {

	@SuppressWarnings("unchecked")
	public List<RoomUser> getByRoomId(int roomId) {
		return (List<RoomUser>) getSqlSession().selectList(
				"RoomUser_getByRoomId", roomId);
	}

}